function onInput(){
	var inputCode = document.getElementById("goodCode").value;
	//var inputCode = document.getElementById("GoodsCode").childNodes;
	var request = new XMLHttpRequest();
	request.open('GET','goodsinfo?goods_code='+encodeURIComponent(inputCode),true);
	request.send(null);
}
function onSubmit(op){
    var form = document.getElementById('goodsinfo');
    form.action="/admin/goods/"+op;
    form.submit();
    }
function goodsSave()() {
	
	alert("セール品保存");
}

function goodsCancel() {
	
	alert("セール品キャンセル");
}

function goodsDelete() {
	alert("セール品削除");
}

function goodsCsv() {
	alert("Csv取込");
	
}
